/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.entity;

import com.jeeplus.modules.infor.entity.Storage;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 货位Entity
 * @author sld
 * @version 2017-11-23
 */
public class Location extends DataEntity<Location> {
	
	private static final long serialVersionUID = 1L;
	private Storage storage;		// 储区
	private String name;		// 货位
	private String status;		// 状态
	private String purpose;		// 货位用途
	private String attribute;		// 货位属性
	private String type;		// 货位种类
	private String dispose;		// 处理方式
	private String verify;		// 校验码
	private String flowType;		// 周转类型
	private String lineOrder;		// 路线顺序
	private String kindsMixed;		// 货品混放
	private String batchMixed;		// 批次混放
	private String ignoreId;		// 忽略ID
	private String xCoordinate;		// X坐标
	private String yCoordinate;		// Y坐标
	private String number;		// 层数
	private String volume;		// 体积（M3）
	private String length;		// 长度（M）
	private String width;		// 宽度（M）
	private String height;		// 高度（M）
	private String capacity;		// 容积（L）
	private String carrying;		// 载重（吨）
	private String quantityRestriction;		// 托盘限制数量
	private String positionRestriction;		// 托盘位置限制
	private String lpnRestriction;		// LPN数量限制
	private String  projectName;  //项目名称

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public Location() {
		super();
	}

	public Location(String id){
		super(id);
	}

	@ExcelField(title="储区", fieldType=Storage.class, value="storage.name", align=2, sort=6)
	public Storage getStorage() {
		return storage;
	}

	public void setStorage(Storage storage) {
		this.storage = storage;
	}
	
	@ExcelField(title="货位", align=2, sort=7)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="状态", align=2, sort=8)
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@ExcelField(title="货位用途", align=2, sort=9)
	public String getPurpose() {
		return purpose;
	}

	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}
	
	@ExcelField(title="货位属性", align=2, sort=10)
	public String getAttribute() {
		return attribute;
	}

	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}
	
	@ExcelField(title="货位种类", align=2, sort=11)
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@ExcelField(title="处理方式", align=2, sort=12)
	public String getDispose() {
		return dispose;
	}

	public void setDispose(String dispose) {
		this.dispose = dispose;
	}
	
	@ExcelField(title="校验码", align=2, sort=13)
	public String getVerify() {
		return verify;
	}

	public void setVerify(String verify) {
		this.verify = verify;
	}
	
	@ExcelField(title="周转类型", align=2, sort=14)
	public String getFlowType() {
		return flowType;
	}

	public void setFlowType(String flowType) {
		this.flowType = flowType;
	}
	
	@ExcelField(title="路线顺序", align=2, sort=15)
	public String getLineOrder() {
		return lineOrder;
	}

	public void setLineOrder(String lineOrder) {
		this.lineOrder = lineOrder;
	}
	
	@ExcelField(title="货品混放", align=2, sort=16)
	public String getKindsMixed() {
		return kindsMixed;
	}

	public void setKindsMixed(String kindsMixed) {
		this.kindsMixed = kindsMixed;
	}
	
	@ExcelField(title="批次混放", align=2, sort=17)
	public String getBatchMixed() {
		return batchMixed;
	}

	public void setBatchMixed(String batchMixed) {
		this.batchMixed = batchMixed;
	}
	
	@ExcelField(title="忽略ID", align=2, sort=18)
	public String getIgnoreId() {
		return ignoreId;
	}

	public void setIgnoreId(String ignoreId) {
		this.ignoreId = ignoreId;
	}
	
	@ExcelField(title="X坐标", align=2, sort=19)
	public String getXCoordinate() {
		return xCoordinate;
	}

	public void setXCoordinate(String xCoordinate) {
		this.xCoordinate = xCoordinate;
	}
	
	@ExcelField(title="Y坐标", align=2, sort=20)
	public String getYCoordinate() {
		return yCoordinate;
	}

	public void setYCoordinate(String yCoordinate) {
		this.yCoordinate = yCoordinate;
	}
	
	@ExcelField(title="层数", align=2, sort=21)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@ExcelField(title="体积（M3）", align=2, sort=22)
	public String getVolume() {
		return volume;
	}

	public void setVolume(String volume) {
		this.volume = volume;
	}
	
	@ExcelField(title="长度（M）", align=2, sort=23)
	public String getLength() {
		return length;
	}

	public void setLength(String length) {
		this.length = length;
	}
	
	@ExcelField(title="宽度（M）", align=2, sort=24)
	public String getWidth() {
		return width;
	}

	public void setWidth(String width) {
		this.width = width;
	}
	
	@ExcelField(title="高度（M）", align=2, sort=25)
	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}
	
	@ExcelField(title="容积（L）", align=2, sort=26)
	public String getCapacity() {
		return capacity;
	}

	public void setCapacity(String capacity) {
		this.capacity = capacity;
	}
	
	@ExcelField(title="载重（吨）", align=2, sort=27)
	public String getCarrying() {
		return carrying;
	}

	public void setCarrying(String carrying) {
		this.carrying = carrying;
	}
	
	@ExcelField(title="托盘限制数量", align=2, sort=28)
	public String getQuantityRestriction() {
		return quantityRestriction;
	}

	public void setQuantityRestriction(String quantityRestriction) {
		this.quantityRestriction = quantityRestriction;
	}
	
	@ExcelField(title="托盘位置限制", align=2, sort=29)
	public String getPositionRestriction() {
		return positionRestriction;
	}

	public void setPositionRestriction(String positionRestriction) {
		this.positionRestriction = positionRestriction;
	}
	
	@ExcelField(title="LPN数量限制", align=2, sort=30)
	public String getLpnRestriction() {
		return lpnRestriction;
	}

	public void setLpnRestriction(String lpnRestriction) {
		this.lpnRestriction = lpnRestriction;
	}
	
}